//
//	Payload.swift
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport

import Foundation

struct Payload : Codable {

	let authorId : String?
	let contentType : String?
	let entryType : String?
	let itemId : String?
	let itemType : String?
	let reason : String?
	let source : String?
	let themeName : String?


	enum CodingKeys: String, CodingKey {
		case authorId = "author_id"
		case contentType = "content_type"
		case entryType = "entry_type"
		case itemId = "item_id"
		case itemType = "item_type"
		case reason = "reason"
		case source = "source"
		case themeName = "theme_name"
	}
	init(from decoder: Decoder) throws {
		let values = try decoder.container(keyedBy: CodingKeys.self)
		authorId = try values.decodeIfPresent(String.self, forKey: .authorId)
		contentType = try values.decodeIfPresent(String.self, forKey: .contentType)
		entryType = try values.decodeIfPresent(String.self, forKey: .entryType)
		itemId = try values.decodeIfPresent(String.self, forKey: .itemId)
		itemType = try values.decodeIfPresent(String.self, forKey: .itemType)
		reason = try values.decodeIfPresent(String.self, forKey: .reason)
		source = try values.decodeIfPresent(String.self, forKey: .source)
		themeName = try values.decodeIfPresent(String.self, forKey: .themeName)
	}


}